// 引入tailwindcss全局自定义样式
import '@renderer/assets/styles/index.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import ElementIcon from '@renderer/plugins/element-icon'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import pinia from '@renderer/store/sotre'
import { useSettings } from '@renderer/store/settings'
// 引入iconfont.js 用于Symbol 应用
import '@renderer/assets/icon/iconfont.js'

const app = createApp(App)
app.use(router).use(ElementPlus).use(ElementIcon).use(pinia).mount('#app')

// 初始化主题
const settingsStore = useSettings()
settingsStore.initTheme()
